### Tickets

| Function name | Description | Type | Source code |
| - | - | - | - |
| `create-ticket` | Creates a new ticket | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gorgias/actions/create-ticket.ts) |
| `tickets` | Fetches a list of tickets with their associated messages | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gorgias/syncs/tickets.ts) |

### Users

| Function name | Description | Type | Source code |
| - | - | - | - |
| `create-user` | Creates a new user with a role in Gorgias. Defaults to agent if a role is not provided | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gorgias/actions/create-user.ts) |
| `delete-user` | Deletes a user in Gorgias | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gorgias/actions/delete-user.ts) |
| `users` | Fetches the list of users | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/gorgias/syncs/users.ts) |